SSL file location and permissions?

SSL file location and permissions?

am 18.01.2010 20:52:18 von Dan Schaefer

Is there a standard location where the SSL crt, csr, and key files
should be located? I would prefer to keep them out of "dan's home
directory" and put them in a widely accepted location. If it helps, I am
running CentOS and I have a standard installation of Apache using yum.
Also, what should the file permissions be for these files and the
containing directory?

Thanks,
Dan Schaefer
Web Developer/Systems Analyst
Performance Administration Corp.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: SSL file location and permissions?

am 19.01.2010 07:59:47 von Krist van Besien

On Mon, Jan 18, 2010 at 8:52 PM, Dan Schaefer wrote:
> Is there a standard location where the SSL crt, csr, and key files should be
> located? I would prefer to keep them out of "dan's home directory" and put
> them in a widely accepted location. If it helps, I am running CentOS and I
> have a standard installation of Apache using yum. Also, what should the file
> permissions be for these files and the containing directory?

There is no standard location. Practices vary by distribution.
On Fedora its /etc/pki/tls
On my Ubuntu server its's /etc/apache2/ssl

You're free to use what works, or stick with what your distro proposes.

Krist


--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: SSL file location and permissions?

am 19.01.2010 08:26:59 von Lee Fisher

> Is there a standard location where the SSL crt, csr, and key files
should be
> located?

This wiki page might be of help for some of these locations:

http://wiki.apache.org/httpd/DistrosDefaultLayout



------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: SSL file location and permissions?

am 19.01.2010 08:32:19 von Nasir Zia

--00504502bf464ae0b3047d7f78fe
Content-Type: text/plain; charset=ISO-8859-1

It is up to the which distribution you are using. If you are using
redhat/fedora and use default rpm then default location would be /etc/httpd
but if you build source code of Apache then location can be of your choice.
if you build from source then use --prefix option in your configure script
to tell apache to install location. Example

--prefix=/usr

On Tue, Jan 19, 2010 at 12:26 PM, Lee Fisher wrote:

> > Is there a standard location where the SSL crt, csr, and key files should
> be
> > located?
>
> This wiki page might be of help for some of these locations:
>
> http://wiki.apache.org/httpd/DistrosDefaultLayout
>
>
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--00504502bf464ae0b3047d7f78fe
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

It is up to the which distribution you are using. If you are using redhat/f=
edora and use default rpm then default location would be /etc/httpd but if =
you build source code of Apache then location can be of your choice. if you=
build from source then use --prefix option in your configure script to tel=
l apache to install location. Example


--prefix=3D/usr

On Tue, Jan 19, 2010=
at 12:26 PM, Lee Fisher < ail.com">blibbet@gmail.com> wrote:
ail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt =
0pt 0pt 0.8ex; padding-left: 1ex;">
> Is there a standard location where the SSL crt, csr,=
and key files should be

> located?



This wiki page might be of help for some of these locations:



ank">http://wiki.apache.org/httpd/DistrosDefaultLayout
<=
div class=3D"h5">







------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g" target=3D"_blank">users-unsubscribe@httpd.apache.org

=A0" =A0 from the digest: httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.o=
rg


For additional commands, e-mail: org" target=3D"_blank">users-help@httpd.apache.org






--00504502bf464ae0b3047d7f78fe--

Re: SSL file location and permissions?

am 20.01.2010 15:05:42 von Dan Schaefer

On 1-19-2010 1:59 AM, Krist van Besien wrote:
> On Mon, Jan 18, 2010 at 8:52 PM, Dan Schaefer wrote:
>
>> Is there a standard location where the SSL crt, csr, and key files should be
>> located?
>>
> There is no standard location. Practices vary by distribution.
> On Fedora its /etc/pki/tls
> On my Ubuntu server its's /etc/apache2/ssl
>
> You're free to use what works, or stick with what your distro proposes.
>
> Krist
>
>
I could not find any accepted/widely-used/standard location that CentOS
proposes. It seems that the location is different for each package as
well (Apache vs Postfix). I decided to choose /etc/certs/ for my location.

Dan Schaefer
Web Developer/Systems Analyst
Performance Administration Corp.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org